package zhuoer.adv1;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class FileWriteTest1 {

	public static void main(String[] args) {
		try {
			FileOutputStream fout = new FileOutputStream("E:\\a\\b\\1.txt");
			fout.write(65);
			fout.write(66);
			fout.write(67);
			fout.write(112);
			fout.write(10000);
			String str = "王浩饼是个大帅哥";
			fout.write(str.getBytes());
			fout.write("蔡启明是个小帅哥！".getBytes());
			fout.close();// 有问题！
		} catch (Exception e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		}

	}

}
